using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace BlazeApps.Library 
{
    public class Base : Procedures
    {
        public enum ItemType
        {
            All = -1,
            Blogs = 1,
            Events = 2,
            News = 3,
            Pages = 4,
            Resources = 5,
            Forums = 6,
            Poll = 7
        }

        public enum BlogType
        {
            BlogsByUser = 0,
            MyBlogs = 1
        }

        protected static bool IsNull(DataRow DR, string FieldName)
        {
            return DR[FieldName].Equals(DBNull.Value);
        }
    }
}
